<template>
	<div class="gift-list-item">
		<div class="gift-list-item-top">
			<div class="gift-list-item-top-price">
				<span>{{giftItem.numberUsed}}</span>
				<span>元</span>
			</div>
			<div class="gift-list-item-top-detail">
				<p>{{giftItem.name}}</p>
				<p>满{{giftItem.moneyMin}}元使用</p>
			</div>
			<div class="gift-list-item-top-btn">
				<button>立即领取</button>
			</div>
		</div>
		<div class="gift-list-item-bottom">
			<div>领取 <span>{{giftItem.dateEndDays}}</span> 天内有效</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: "gift-item",
		props: {
			giftItem: {
				type: Object,
				required: true
			}
		}
	}
</script>
